projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e2a168
)
notebook: show tabs when asked to
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 17 Jan 2016 19:35:58 +0000
(14:35 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 17 Jan 2016 19:35:58 +0000
(14:35 -0500)
gtk_notebook_set_show_tabs must make the header gadget
visible when show_tabs is TRUE, not the other way around.
https://bugzilla.gnome.org/show_bug.cgi?id=760596
gtk/gtknotebook.c
patch
|
blob
|
history
diff --git
a/gtk/gtknotebook.c
b/gtk/gtknotebook.c
index 3b9f7d46434e9f407e8446fca0a4447ee47acb5f..d5ac77c788b4d0e529a39b8978aaf77f4a2ba5be 100644
(file)
--- a/
gtk/gtknotebook.c
+++ b/
gtk/gtknotebook.c
@@
-6953,7
+6953,7
@@
gtk_notebook_set_show_tabs (GtkNotebook *notebook,
{
gtk_widget_set_can_focus (GTK_WIDGET (notebook), TRUE);
gtk_notebook_update_labels (notebook);
- gtk_css_gadget_set_visible (priv->header_gadget,
FALS
E);
+ gtk_css_gadget_set_visible (priv->header_gadget,
TRU
E);
}
for (i = 0; i < N_ACTION_WIDGETS; i++)